<?php 
require_once 'includes/haut.php';
acces($niveau,1);

require_once 'includes/donneesTarifs.php';
require_once 'includes/donneesFormulaires.php';
require_once 'modules/gestionCategorie.php';

?>

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN"
	"http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">

<html xmlns="http://www.w3.org/1999/xhtml">
	<head>
		<title>
			Gestion de cat&eacute;gorie
		</title>
		<?php include('includes/headLinks.php');?>
		<script type="text/javascript" src="js/tarifs.js"></script>
	</head>
	<body>

		<div id="entete">
			<?php include('includes/entete.php'); ?>
		</div>
	
		<div id="navigation">
			<?php include('includes/navigation.php'); ?>
		</div>

		<div id="principal">
		
<!-- 		tableau des prix -->
			<h2>Tableaux des prix propos&eacute;s en &euro;</h2>
			<p>Cliquez sur un prix pour le modifier.</p>
			
			<?php
			if (!isset ($_GET['act'])){
				header("Location:indexAdmin.php");
				exit();
			}
			else {
				$act = $_GET['act'];
				$liens = getLiens($tabType, $act);
			}
			
			echo('<a href="formCategorie.php?act='.$liens[0].'" class="lienG">'.$liens[0].'</a>
				<a href="formCategorie.php?act='.$liens[1].'" class="lienD">'.$liens[1].'</a>');

			 tabPrixFixe($tabType,$tabNiveau,$act,true);?>

<!--  			reinitialiser toutes les categories -->
<!-- 			<form action="formCategorie.php" method="post"> -->
<!-- 				<h2>R&eacute;initialiser les cat&eacute;gories</h2>		 -->

<!-- 	      		<center><input type="submit" name="envoyer" value="R&eacute;initialiser"/></center> -->
<!-- 				<p><center><em>Attention, cette action remettra tous les prix &agrave; 0 !!!</em></center></p> -->
<!-- 				<input type="hidden" name="action" value="init"/> -->
<!-- 			</form> -->
		
		</div>
		
		<div id="publicite">
			<?php include('includes/publicite.php'); ?>
		</div>

	</body>
</html>

